const mqttObj = {
  url: "ws://10.205.32.220:9001/mqtt",
  name: "mqttguest",
  pwd: "Guest@123",
}
const sbjcLists = [
  {
    name: "10kVⅠ段进线保护动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1168",
    val: '',
  },
  {
    name: "10kVⅡ段进线保护动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1192",
    val: '',
  },
  {
    name: "10kVⅡ段进线过流Ⅰ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1193",
    val: '',
  },
  {
    name: "10kVⅡ段进线过流Ⅱ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1194",
    val: '',
  },
  {
    name: "10kVⅡ段进线过流Ⅲ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1195",
    val: '',
  },
  {
    name: "10kVⅡ段进线零序过流Ⅰ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1196",
    val: '',
  },
  {
    name: "10kVⅡ段进线零序过流Ⅱ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1197",
    val: '',
  },
  {
    name: "10kVⅡ段进线零序过流Ⅲ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1198",
    val: '',
  },
  {
    name: "10kV母联保护动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1180",
    val: '',
  },
  {
    name: "10kV母联过流Ⅰ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1181",
    val: '',
  },

  {
    name: "10kV母联过流Ⅱ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1182",
    val: '',
  },
  {
    name: "10kV母联零序过流Ⅰ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1183",
    val: '',
  },
  {
    name: "10kV母联零序过流Ⅱ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1184",
    val: '',
  },
  {
    name: "10kV综合供水泵保护动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1090",
    val: '',
  },
  {
    name: "10kV综合供水泵电流速断动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1091",
    val: '',
  },
  {
    name: "10kV综合供水泵过流动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1092",
    val: '',
  },
  {
    name: "10kV综合供水泵过负荷动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1093",
    val: '',
  },
  {
    name: "10kV综合供水泵零序过流动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1094",
    val: '',
  },
  {
    name: "10kV水处理变保护动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1156",
    val: '',
  },
  {
    name: "10kV水处理变电流速断动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1157",
    val: '',
  },
  {
    name: "10kV水处理变过流Ⅰ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1158",
    val: '',
  },
  {
    name: "10kV水处理变过流Ⅱ段动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1159",
    val: '',
  },
  {
    name: "10kV水处理变高零流1时限动作",
    mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1160",
    val: '',
  },
]
const sbLists = [
  {
    id: 1,
    name: "10kV 高压开关柜",
    itemLists: [
      {
        id: "1-1",
        name: "1#10kV进线开关柜",
        position: [-3.46, 10.56, 9.66, 7.134, 6.61, 9.74, 12],
      },
      {
        id: "1-2",
        name: "2#10kV进线开关柜",
        position: [-1.14, 10.26, 9.53, -2.79, 9.859, 9.602, 12],
      },
      {
        id: "1-3",
        name: "10kV母联开关柜",
        position: [-3.61, 10.179, 10.78, -2.19, 9.89, 10.758, 12],
      },
      {
        id: "1-4",
        name: "10kV电动机馈电开关柜",
        position: [-2.473, 10.55, -3.461, -2.246, 8.817, 3.83, 12],
      },
      {
        id: "1-5",
        name: "10kV变压器馈电开关柜",
        position: [-2.345, 10.82, -5.24, -2.30, 9.309, -1.25, 12],
      },
      {
        id: "1-6",
        name: "10kVI母电压互感器柜",
        position: [-3.86, 9.869, 8.775, -1.798, 9.626, 8.778, 12],
      },
      {
        id: "1-7",
        name: "10kVII母电压互感器柜",
        position: [-1.132, 10.221, 9.0129, -2.349, 9.958, 9.023, 12],
      },
      {
        id: "1-8",
        name: "所用变柜",
        position: [-2.221, 10.019, 0.039, -2.351, 9.643, -2.318, 12],
      },
    ],
  },
  {
    id: 2,
    name: "400V低压交流及220V直流系统",
    itemLists: [
      {
        id: "2-1",
        name: "0.4kV低压站用电1#进线柜",
        position: [-5.059, 9.93, -9.993, -5.045, 8.314, -24.453, 12],
      },
      {
        id: "2-2",
        name: "0.4kV低压站用电2#进线柜",
        position: [2.409, 10.138, -10.526, 2.33, 9.624, -13.266, 12],
      },
      {
        id: "2-3",
        name: "220V直流装置柜",
        position: [0.753, 10.517, 1.532, 2.726, 9.962, 1.508, 12],
      },
    ],
  },
  {
    id: 3,
    name: "变频器及隔离柜",
    itemLists: [
      {
        id: "3-1",
        name: "高压变频器",
        position: [-2.338, 3.166, 13.623, -2.849, 0.711, 7.441, 4],
      },
      {
        id: "3-2",
        name: "隔离柜",
        position: [-2.163, 3.411, 14.27, -2.758, 0.228, 7.625, 4],
      },
    ],
  },
  {
    id: 4,
    name: "10/0.4kV变压器",
    itemLists: [
      {
        id: "4-1",
        name: "0.4kV变压器",
        position: []
      },
    ],
  }
]
const sbInfos = {
  '1-1': [
    {
      name: "A相电流Ia",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-711"
    },
    {
      name: "B相电流Ib",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-712"
    },
    {
      name: "C相电流Ic",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-713"
    },
    {
      name: "A相电压Ua",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-705"
    },
    {
      name: "B相电压Ub",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-706"
    },
    {
      name: "C相电压Uc",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-707"
    },
    {
      name: "有功功率P",
      unit: "kW",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-714"
    },
    {
      name: "无功功率Q",
      unit: "kVar",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-715"
    },
    {
      name: "功率因数COS",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-716"
    },
    {
      name: "断路器闸位",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1164"
    },
    {
      name: "进线保护动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1168"
    },
    {
      name: "过流Ⅰ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1169"
    },
    {
      name: "过流Ⅱ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1170"
    },
    {
      name: "过流Ⅲ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1171"
    },
    {
      name: "零序过流Ⅰ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1172"
    },
    {
      name: "零序过流Ⅱ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1173"
    },
    {
      name: "零序过流Ⅲ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1174"
    },
  ],
  '1-2': [
    {
      name: "A相电流Ia",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-729"
    },
    {
      name: "B相电流Ib",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-730"
    },
    {
      name: "C相电流Ic",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-731"
    },
    {
      name: "A相电压Ua",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-723"
    },
    {
      name: "B相电压Ub",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-724"
    },
    {
      name: "C相电压Uc",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-725"
    },
    {
      name: "有功功率P",
      unit: "kW",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-732"
    },
    {
      name: "无功功率Q",
      unit: "kVar",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-733"
    },
    {
      name: "功率因数COS",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-734"
    },
    {
      name: "断路器闸位",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1188"
    },
    {
      name: "进线保护动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1192"
    },
    {
      name: "过流Ⅰ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1193"
    },
    {
      name: "过流Ⅱ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1194"
    },
    {
      name: "过流Ⅲ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1195"
    },
    {
      name: "零序过流Ⅰ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1196"
    },
    {
      name: "零序过流Ⅱ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1197"
    },
    {
      name: "零序过流Ⅲ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1198"
    },
  ],
  '1-3': [
    {
      name: "A相电流Ia",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-717"
    },
    {
      name: "B相电流Ib",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-718"
    },
    {
      name: "C相电流Ic",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-719"
    },
    {
      name: "有功功率P",
      unit: "kW",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-720"
    },
    {
      name: "无功功率Q",
      unit: "kVar",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-721"
    },
    {
      name: "功率因数COS",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-722"
    },
    {
      name: "断路器闸位",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1176"
    },
    {
      name: "进线保护动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1180"
    },
    {
      name: "过流Ⅰ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1181"
    },
    {
      name: "过流Ⅱ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1182"
    },
    {
      name: "零序过流Ⅰ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1183"
    },
    {
      name: "零序过流Ⅱ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1184"
    },
  ],
  '1-4': [
    {
      name: "A相电流Ia",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-658"
    },
    {
      name: "B相电流Ib",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-659"
    },
    {
      name: "C相电流Ic",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-660"
    },
    {
      name: "有功功率P",
      unit: "kW",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-661"
    },
    {
      name: "无功功率Q",
      unit: "kVar",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-662"
    },
    {
      name: "功率因数COS",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-663"
    },
    {
      name: "断路器闸位",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1085"
    },
    {
      name: "接地刀闸位",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1089"
    },
    {
      name: "保护动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1090"
    },
    {
      name: "电流速断动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1091"
    },
    {
      name: "过流动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1092"
    },
    {
      name: "过负荷动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1093"
    },
    {
      name: "零序过流动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1094"
    },
  ],
  '1-5': [
    {
      name: "A相电流Ia",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-694"
    },
    {
      name: "B相电流Ib",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-695"
    },
    {
      name: "C相电流Ic",
      unit: "A",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-696"
    },
    {
      name: "有功功率P",
      unit: "kW",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-697"
    },
    {
      name: "无功功率Q",
      unit: "kVar",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-698"
    },
    {
      name: "功率因数COS",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-699"
    },
    {
      name: "断路器闸位",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1151"
    },
    {
      name: "接地刀闸位",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1155"
    },
    {
      name: "保护动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1156"
    },
    {
      name: "电流速断动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1157"
    },
    {
      name: "过流Ⅰ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1158"
    },
    {
      name: "过流Ⅰ段动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1159"
    },
    {
      name: "高零流1时限动作",
      unit: "",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.YXTag-1160"
    },
  ],
  '1-6': [
    {
      name: "A相电压Ua",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-700"
    },
    {
      name: "B相电压Ub",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-701"
    },
    {
      name: "C相电压Uc",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-702"
    },
  ],
  '1-7': [
    {
      name: "A相电压Ua",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-735"
    },
    {
      name: "B相电压Ub",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-736"
    },
    {
      name: "C相电压Uc",
      unit: "kV",
      val: "",
      mqtt_id: "BF3_110KV_Modbus.2#Sub.Tag-737"
    },
  ],
  '1-8': [],
  '2-1': [],
  '2-2': [],
  '2-3': [],
  '3-1': [],
  '3-2': [],
  '4-1': [],
}
const MonitorLists = [
  {
    id: 0,
    name: "全部显示",
    type: 'zh',
  },
  {
    id: 1,
    name: "出入口",
    position: [-2.01, 4.24, 17.91],
  },
  {
    id: 2,
    name: "变频器室",
    position: [0.9, 4.23, 14.3],
  },
  {
    id: 3,
    name: "变频器室",
    position: [5.89, 4.24, -0.09],
  },
  {
    id: 4,
    name: "变频器室",
    position: [-5.9, 4.24, 0.01],
  },
  {
    id: 5,
    name: "仓库",
    position: [-5.45, 4.24, -0.59],
  },
  {
    id: 6,
    name: "变压器室",
    position: [-6.62, 4.24, -17.19],
  },
  {
    id: 7,
    name: "变压器室",
    position: [-2.14, 4.24, -17.26],
  },
  {
    id: 8,
    name: "出入口",
    position: [-7.14, 4.24, -16.03],
  },
  {
    id: 9,
    name: "出入口",
    position: [7.35, 4.24, -14.23],
  },
  {
    id: 10,
    name: "电缆室",
    position: [-4.33, 7.06, 14.36],
  },
  {
    id: 11,
    name: "电缆室",
    position: [4.97, 7.06, -10.11],
  },
  {
    id: 12,
    name: "电缆室",
    position: [-3.73, 7.06, -15.1],
  },
  {
    id: 13,
    name: "高配室",
    position: [-2.79, 11.54, 14.4],
  },
  {
    id: 14,
    name: "高配室",
    position: [-2.79, 11.55, -5.1],
  },
  {
    id: 15,
    name: "高配室",
    position: [3.35, 11.55, -5.1],
  },
  {
    id: 16,
    name: "低配室",
    position: [3.86, 11.54, -12.77],
  },
  {
    id: 17,
    name: "低配室",
    position: [-6.58, 11.55, -9.22],
  }
]
export default { mqttObj, sbjcLists, sbLists, sbInfos, MonitorLists };